x86/hvm: add HVM_PARAM_X87_FIP_WIDTH
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 26 Feb 2016 11:30:11 +0000 (12:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Feb 2016 11:30:11 +0000 (12:30 +0100)
commit5d768fb1f3f7b011e7b6e75909c7f4841730de60
tree522ea33fb6597c35ef39ec76cab933e4b0616e47
parent879b44b041f26de35e4b527bf0f3c361eb52bd82
x86/hvm: add HVM_PARAM_X87_FIP_WIDTH

The HVM parameter HVM_PARAM_X87_FIP_WIDTH to allow tools and the guest
to adjust the width of the FIP/FDP registers to be saved/restored by
the hypervisor.  This is in case the hypervisor hueristics do not do
the right thing.

Add this parameter to the set saved during domain save/migrate.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_sr_save_x86_hvm.c
xen/arch/x86/hvm/hvm.c
xen/include/public/hvm/params.h